package com.itheima.static_case.Demo2;

public class Demo2 {
    public static void main(String[] args) {
        // 案例2 - 编写生成验证码的工具类

        String loginCode = CreateCode.createCheckCode(6);

        System.out.println("获取到登录验证码: " + loginCode);

        String registerCode = CreateCode.createCheckCode(4);

        System.out.println("获取到注册验证码: " + registerCode);


    }
}
